credit_risk == "bad"credit_rating == bad gitt informasjon om de andre variablene Truth
Prediction bad good
bad 126 54
good 99 471
# A tibble: 3 × 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 accuracy binary 0.796
2 sens binary 0.56
3 spec binary 0.897
Truth
Prediction bad good
bad 36 25
good 39 150
# A tibble: 3 × 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 accuracy binary 0.744
2 sens binary 0.48
3 spec binary 0.857